import unittest
from Public.public import TOOL
suite = unittest.defaultTestLoader.discover(start_dir=r'D:\1\PythonProject1\Case',pattern='*.py')
TOOL().report().run(suite)
TOOL().sendemail()